package com.zxn.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxn.project.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;



@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT * from user WHERE id = #{userid}")
    User selectById(Long userid);

}
